home *** CD-ROM | disk | FTP | other *** search
- SimpleTimer.bas - A simple example of using the timer device
- ============================================================
-
- Derived from RKM example (c) Copyright 1992 Commodore-Amiga, Inc.
-
- This is a variant on the Commodore example "Example Timer Program" taken from
- the Devices RKM p.299.
-
- The example shows how to use the timer device to sleep for short periods of
- time (more accurately than DOS Delay) and using the device to set and get
- the system time.
-
- The example will work on all non-obsolete versions of Workbench (V33 and
- above).
-
- Compiling
- ---------
- Load the SimpleTimer_inc.bh file and Tokenise it (Program-Tokenise), making
- sure you have no token file selected in the File Options (Settings-Compiler-
- Files). Once you have your token file, set the File Options-Token File setting
- to the SimpleTimer_inc.t file just created. Load the SimpleTimer.bas file,
- compile & run it.
-